﻿<%if not in_sdcms then response.write("template load fail"):response.end() end if%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="{seokey}" />
<meta name="Description" content="{seodesc}" />
<title>{title}{if page>1}_第{page}页{/if}_{classname}_{sdcms[webname]} - by xd0.0.1</title>
<link href="{webroot}lib/css/base.css" rel="stylesheet" type="text/css" />
<link href="{webroot}theme/default/css/public.css" rel="stylesheet" type="text/css" />
<link href="{webroot}theme/default/css/artshow.css" rel="stylesheet" type="text/css" />
{if moodconfig}<link href="{webroot}theme/default/css/mood.css" rel="stylesheet" type="text/css" />{/if}
{if iscomment=1 and syscomment}<link href="{webroot}theme/default/css/comment.css" rel="stylesheet" type="text/css" />{/if}
<script>var webroot="{webroot}",infoid="{rsshow[cid]}",murl="show.asp?id={id}",contenturl="{contenturl}";</script>
<script src="{webroot}lib/js/jquery.js"></script>
<script src="{webroot}lib/js/jquery-migrate-1.1.0.min.js"></script>
<script src="{webroot}lib/tips/jquery.tips.js"></script>
<script src="{webroot}lib/js/base.js"></script>
<script src="{webroot}lib/highlight/highlight.js"></script>
<script src="{webroot}lib/validator/jquery.validator.js"></script>
<script src="{webroot}lib/validator/zh_CN.js"></script>
<script src="{webroot}theme/default/js/sdcms.js"></script>
<script src="{webroot}lib/dialog/artdialog.js"></script>
{if moodconfig}<script src="{webroot}lib/js/sdcms.mood.js"></script>{/if}
<script src="{webroot}lib/js/sdcms.hits.js"></script>
{if iscomment=1 and syscomment}<script src="{webroot}lib/js/sdcms.comment.js"></script>{/if}
{if point>0}<script src="{webroot}lib/js/sdcms.buy.js"></script>{/if}
{if point>0 and webmode=3}<script src="{webroot}lib/js/sdcms.html.js"></script>{/if}
</head>

<body>
    {sdcms:include("../../sdcms_head.asp")}
    
    <div id="position">QQYou所在的位置：<a href="{webroot}">首页</a>{sdcms.getpostion(parentid," > ")} > 正文</div>
    <div class="w980 mt10 mc" id="container">
        <div class="left">
            <div class="w610 bt">
                <div class="title"><h1>{title}</h1></div>
                <div class="item">作者：{author}　来源：{comefrom}　日期：{createdate}　人气：<span id="hits">{hits}</span>　<a href="javascript:;" onclick="addfavorite({id})">加入收藏</a>{if iscomment=1 and syscomment}　评论：<span id="commentnum"><a href="{webroot}plug/comment.asp?id={id}">{comments}</a></span>{/if}　标签：{for i=0 to ubound(tags)}<a href="{webroot}plug/tags.asp?tag={server.urlencode(tags(i))}">{tags(i)}</a> {/for}</div>
                <div class="content">
                {if webmode=3}
                    {if point>0}
                    <div id="sdcms_buy">本文需要购买才能查看，价格：<span class="point">{point} 积分</span>。<span>[<a class="buytip" title="购买本文" config="{id}:{point}">立即购买</a>]</span></div>
                    {/if}
                {else}
                    {if point>0 and not(isvip)}
                    <div id="sdcms_buy">本文需要购买才能查看，价格：<span class="point">{point} 积分</span>。{if isbuy=0}<span>[<a class="buytip" title="购买本文" config="{id}:{point}">立即购买</a>]</span>{else}您已经购买，可以查看。{/if}</div>
                    {/if}
                {/if}
                <div id="sdcms_content">{content}</div>
                <div id="xd1show" style="border: 1px solid blue;">{content}</div>
                
                <div class="list_page page_group"><ul>{get_content_page}</ul></div>
            <strong>本文网址：</strong><a href="{asp replace(contenturl,"%26","&")}" title="{title}">{asp replace(contenturl,"%26","&")}</a>
            {if moodconfig and point<=0}
            <!--mood-->
            <div class="mood">读完这篇文章后，您心情如何？</div>
            <div id="mood">
                 <ul>
                     <li>
                         <div id="mood_1">0</div>
                         <div class="bar"><div class="bg" id="mood_num_1"></div></div>
                         <div class="md mood1"><a title="高兴" href="javascript:void(0)" config="1"></a></div>
                     </li>
                     <li>
                         <div id="mood_2">0</div>
                         <div class="bar"><div class="bg" id="mood_num_2"></div></div>
                         <div class="md mood2"><a title="感动" href="javascript:void(0)" config="2"></a></div>
                     </li>
                     <li>
                         <div id="mood_3">0</div>
                         <div class="bar"><div class="bg" id="mood_num_3"></div></div>
                         <div class="md mood3"><a title="同情" href="javascript:void(0)" config="3"></a></div>
                     </li>
                     <li>
                         <div id="mood_4">0</div>
                         <div class="bar"><div class="bg" id="mood_num_4"></div></div>
                         <div class="md mood4"><a title="愤怒" href="javascript:void(0)" config="4"></a></div>
                     </li>
                     <li>
                         <div id="mood_5">0</div>
                         <div class="bar"><div class="bg" id="mood_num_5"></div></div>
                         <div class="md mood5"><a title="搞笑" href="javascript:void(0)" config="5"></a></div>
                     </li>
                     <li>
                         <div id="mood_6">0</div>
                         <div class="bar"><div class="bg" id="mood_num_6"></div></div>
                         <div class="md mood6"><a title="难过" href="javascript:void(0)" config="6"></a></div>
                     </li>
                     <li>
                         <div id="mood_7">0</div>
                         <div class="bar"><div class="bg" id="mood_num_7"></div></div>
                         <div class="md mood7"><a title="新奇" href="javascript:void(0)" config="7"></a></div>
                     </li>
                     <li>
                         <div id="mood_8">0</div>
                         <div class="bar"><div class="bg" id="mood_num_8"></div></div>
                         <div class="md mood8"><a title="无聊" href="javascript:void(0)" config="8"></a></div>
                     </li>
                 </ul>
            </div>
            <!--over-->
            {/if}
                </div>
                <div class="infodot"></div>
                <div class="pre">上一篇：{sdcms:rs top="1" field="id,isurl,url,title,style,classid" table="sd_content" where="islock=1 and classid=[classid] and id<[id] and isurl=0" order="id desc"}
            {rs:eof}<span class=c9>没有资料</span>{/rs:eof}
            <a href="{$rs[link]}" title="{$rs[title]}">{sdcms.cutstr($rs[title],70,1)}</a>
            {/sdcms:rs}</div>
                <div class="next">下一篇：{sdcms:rs top="1" field="id,isurl,url,title,style,classid" table="sd_content" where="islock=1 and classid=[classid] and id>[id] and isurl=0"}
            {rs:eof}<span class=c9>没有资料</span>{/rs:eof}
            <a href="{$rs[link]}" title="{$rs[title]}">{sdcms.cutstr($rs[title],70,1)}</a>
            {/sdcms:rs}</div>
            </div>
            {if iscomment=1 and syscomment}
            <div class="b mt10 w670">
                <div class="subject"><span><a href="{webroot}plug/comment.asp?id={id}">更多>></a></span>网友评论</div>
                <div class="p10"><div id="commenttop"></div></div>
            </div>
            
            <div class="b mt10 w670">
                <div class="subject">发表评论</div>
                <div class="p10">
                    <div id="comment_staus"></div>
                </div>
            </div>
            {/if}
        </div>
        <div class="right">
            <div class="b">
                <div class="subject">热门排行</div>
                <ul class="toplist">
                    {sdcms:rs top="10" field="id,title,style,createdate,isurl,url,classid" table="sd_content" where="islock=1 and classid=[classid]" order="hits desc,id desc"}
                    {rs:eof}<li>没有资料</li>{/rs:eof}
                    <li><a href="{$rs[link]}" title="{$rs[title]}"{if $rs[isurl]=1} target="_blank"{/if} {$rs[style]}>{sdcms.cutstr($rs[title],30,1)}</a></li>
                    {/sdcms:rs}
                </ul>
            </div>
            
            <div class="b mt10">
                <div class="subject">编辑推荐</div>
                <ul class="toplist">
                    {sdcms:rs top="10" field="id,title,style,createdate,isurl,url,classid" table="sd_content" where="islock=1 and isnice=1 and classid=[classid]" order="ontop desc,id desc"}
                    {rs:eof}<li>没有资料</li>{/rs:eof}
                    <li><a href="{$rs[link]}" title="{$rs[title]}"{if $rs[isurl]=1} target="_blank"{/if} {$rs[style]}>{sdcms.cutstr($rs[title],30,1)}</a></li>
                    {/sdcms:rs}
                </ul>
            </div>
            {if likeid<>"0"}
            <div class="b mt10">
                <div class="subject">相关阅读</div>
                <ul class="toplist">
                    {sdcms:rs top="10" field="id,title,style,createdate,isurl,url,classid" table="sd_content" where="islock=1 and id in([likeid])" order="ontop desc,id desc"}
                    <li><a href="{$rs[link]}" title="{$rs[title]}"{if $rs[isurl]=1} target="_blank"{/if} {$rs[style]}>{sdcms.cutstr($rs[title],30,1)}</a></li>
                    {/sdcms:rs}
                </ul>
            </div>
            {/if}
        </div>
    </div>
	<script>window.highlight&&highlight();</script>
<script>
$("#xd1show").click(function(){
  alert("Value: " + $("#xd1show").text());
});
</script>
    {sdcms:include("../../sdcms_foot.asp")}